package cn.tedu.oa.schedule.mapper;

import cn.tedu.oa.schedule.pojo.dto.ScheduleQuerry;
import cn.tedu.oa.schedule.pojo.entity.Schedule;
import cn.tedu.oa.schedule.pojo.vo.ScheduleVO;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Repository
public interface ScheduleMapper {
    List<ScheduleVO> select(ScheduleQuerry scheduleQuerry);

    void insert(Schedule schedule);

    void update(Schedule schedule);

    void delete(Integer id);
}
